package cn.amaake.service;

import com.jfinal.plugin.activerecord.Page;

import cn.amaake.common.model.Menu;

import java.util.List;

public interface MenuService {

    public Page<Menu> getMenuPage(int pageNumber,int pageSize,String menuName);

    public boolean addMenu(Menu menu);

    public boolean removeMenu(int menuid);

    public boolean editMenu(Menu menu);

    public Menu showMenu(int menuid);

    public List<Menu> getMenuTree();

}
